package com.zzl.finance.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业关系表
 *
 * @author sunpp
 * @date 2021-11-30 13:12:59
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class EnterpriseRelationAddDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "父级供应商id", example = "")
    private Integer enterpriseParentId;
    @ApidocModelProperty(description = "当前供应商id", example = "")
    private String enterpriseId;
    @ApidocModelProperty(description = "是否时黑名单0否 1是", example = "")
    private Integer isBlacklist;
    @ApidocModelProperty(description = "1 表示删除，0 表示未删除", example = "")
    private Integer isDeleted;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人id", example = "")
    private Integer creatorId;

}
